#pragma  once

#include "opencvandstd.h"
#include "invertedIndex.h"

bool sortFunc(pair<string,float> &p1,pair<string,float> &p2);


bool solveAffine(KeyPoint & key, featureRecord &fr,houghParam &resultParam);


bool getParamRange(vector<houghParam> &parameters,houghParam &min_param ,houghParam &max_param);

int doHoughTransform(vector<houghParam> &parameters,int * param_space);

void imgResize(Mat &source , Mat &dst , int maxSize);